toggle menu
JxBrowser
8.2.1
jvm
switch theme
search in API
JxBrowser
/
com.teamdev.jxbrowser.media
/
[jvm]MediaDevices
Media
Devices
public
interface
MediaDevices
implements
EngineService
,
Advisable
<
P
>
An engine service that allows accessing all the available media input devices.
Members
Functions
engine
Link copied to clipboard
public
abstract
Engine
engine
(
)
Returns the engine of this service.
get
Link copied to clipboard
public
abstract
Optional
<
C
>
get
<
C
extends
P
>
(
Class
<
C
>
callbackClass
)
Returns an
Optional
that contains the callback of the given type or an empty
Optional
if there is no registered callback with the given type.
list
Link copied to clipboard
public
abstract
List
<
MediaDevice
>
list
(
MediaDeviceType
type
)
Returns an immutable list of the details about all the available media input devices of the given
type
or an empty collection if there are no devices of the given
type
.
remove
Link copied to clipboard
public
abstract
C
remove
<
C
extends
P
>
(
Class
<
C
>
callbackClass
)
Removes a particular service callback.
set
Link copied to clipboard
public
abstract
C
set
<
C
extends
P
>
(
Class
<
C
>
callbackClass
,
C
callback
)
Sets a particular service callback.